package cn.liit.weixin.custommsg.model;

/**
 * 客服消息(视频消息)
 * @author zhangboqi
 *
 */
public class VideoMsg extends BaseMsg {

	private Video video;

	public VideoMsg(String touser, String media_id,String thumb_media_id,String title,String description) {
		super(touser, MSGTYPE_VIDEO);
		this.video = new Video(media_id, thumb_media_id, title, description);
	}

	public Video getVideo() {
		return video;
	}

	public void setVideo(Video video) {
		this.video = video;
	}
	public static class Video {

		private String media_id;//发送的图片/语音/视频的媒体ID
		private String thumb_media_id;//缩略图的媒体ID
		private String title;
		private String description;
		
		public Video(String media_id, String thumb_media_id, String title,
				String description) {
			super();
			this.media_id = media_id;
			this.thumb_media_id = thumb_media_id;
			this.title = title;
			this.description = description;
		}
		public String getMedia_id() {
			return media_id;
		}
		public void setMedia_id(String media_id) {
			this.media_id = media_id;
		}
		public String getThumb_media_id() {
			return thumb_media_id;
		}
		public void setThumb_media_id(String thumb_media_id) {
			this.thumb_media_id = thumb_media_id;
		}
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public String getDescription() {
			return description;
		}
		public void setDescription(String description) {
			this.description = description;
		}
		
		
	}
}
